var url = window.location.href;
console.log("zogodo url " + url.substring(0, 100).replace(/\%.+/, " "));
try {
    if (url.indexOf("login.m.taobao.com") >= 0) {
        document.getElementById("username").value = "18507734427";
        document.getElementById("password").value = "a74278290";
        document.getElementById("password").click();
    }
    else if (url.indexOf("s.m.taobao.com/h5?q=") >= 0) {
        document.getElementById("tbh5v0").setAttribute("id", "zogodo");
    }
    else if (url.indexOf("m.taobao.com") >= 0) {
        var close_but = document.getElementsByTagName("a");
        for (var i = 0; i < close_but.length; i++) {
            if (close_but[i].id.indexOf("close") >= 0) {
                close_but[i].click();
                break;
            }
        }
    }
}
catch (e) {
    console.log("zogodo error " + url.substring(0, 64).replace(/\%.+/, " ") + e);
}